<?php

use yii\db\Schema;
use yii\db\Migration;

class m160307_084417_add_mv_adspace_city_group extends Migration
{
    public function up()
    {
        $this->addColumn('{{%mobile_video_adspace}}', 'city_group', "text COMMENT '城市群价格，json 格式' after base_price");
    }

    public function down()
    {
        return $this->dropColumn('{{%mobile_video_adspace}}', 'city_group');
    }

    /*
    // Use safeUp/safeDown to run migration code within a transaction
    public function safeUp()
    {
    }

    public function safeDown()
    {
    }
    */
}
